@extends('d.layout.index')
@section('con')
	<div class="mws-panel grid_8">
    	<div class="mws-panel-header">
        	<span>修改网站配置</span>
        </div>
        <div class="mws-panel-body no-padding">
        	<form action="/admin/config/update" method="post" class="mws-form" enctype="multipart/form-data">
            {{csrf_field()}}
                <input type="hidden" name="id" value='{{$vo['id']}}'>
        		<div class="mws-form-inline">
        			<div class="mws-form-row">
        				<label class="mws-form-label">网站名称:</label>
        				<div class="mws-form-item">
        					<input type="text" name="webname" value='{{$vo['webname']}}' class="small">
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">网站关键字:</label>
        				<div class="mws-form-item">
        					<input type="text" name="keywords" value='{{$vo['keywords']}}' class="small">
        				</div>
        			</div>
                    <div class="mws-form-row">
                        <label class="mws-form-label">网站logo:</label>
                        <div class="mws-form-item">
                            <div class="fileinput-holder">
                                <img src="{{$vo['logo']}}" alt="">
                            </div>
                        </div>
                    </div>
        			<div class="mws-form-row">
                        <label class="mws-form-label">修改网站logo:</label>
                        <div class="mws-form-item">
                            <div class="fileinput-holder">
                                <input type="file" name="logo" >
                            </div>
                        </div>
                    </div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">网站版权:</label>
        				<div class="mws-form-item">
        					<input type="text" name="copy_right" value='{{$vo['copy_right']}}' class="small">
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">网站状态:</label>
        				<div class="mws-form-item">
        					<select class="large" name="status">
        						<option value="1" @if($vo['status']==1) selected @endif>开启</option>
        						<option value="0" @if($vo['status']==0) selected @endif>关闭</option>
        					</select>
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">营业执照注册号:</label>
        				<div class="mws-form-item">
        					<input type="text" name="register" value='{{$vo['register']}}' class="small">
        				</div>
        			</div>
        			<div class="mws-form-row">
        				<label class="mws-form-label">经营许可证</label>
        				<div class="mws-form-item">
        					<input type="text" name="allow" value='{{$vo['allow']}}' class="small">
        				</div>
        			</div>
        		<div class="mws-button-row">
        			<input type="submit" class="btn btn-danger" value="修改">
        			<input type="reset" class="btn " value="重置">
        		</div>
        	</form>
        </div>    	
    </div>
</div>
@endsection